setDefaultFileType
Sets the default file type for the Java application.
public static void setDefaultFileType ( MRJOSType defaultType);
defaultType
- The 4-byte file type you wish to assign as the default.
DISCUSSION
On the Mac OS, a file type is a 4-byte character constant that identifies the type of file to the Finder (for example,'TEXT'
for a text file, or'APPL'
for an application). If you do not specify a default file type, any saved files will have the file type'TEXT'
.SEE ALSO
The "Finder Interface" chapter in Inside Macintosh: Macintosh Toolbox Essentials for information about file types.